/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package PackageInstaller.MainUi;

import PackageUpdater.UI.UpdateUI;

/**
 *
 * @author wcss
 */
public class FileCopyItem 
{
    public FileCopyItem(){}
    
    public FileCopyItem(String sour,String des,Boolean file)
    {
        this.setSource(sour);
        this.setDest(des);
        this.setIsFile(file);
    }
    
    private String source;
    private String dest;
    private Boolean isFile;

    /**
     * @return the source
     */
    public String getSource() {
        return source;
    }

    /**
     * @param source the source to set
     */
    public void setSource(String source) {
        this.source = source;
    }

    /**
     * @return the dest
     */
    public String getDest() {
        return dest;
    }

    /**
     * @param dest the dest to set
     */
    public void setDest(String dest) {
        this.dest = dest;
    }

    /**
     * @return the isFile
     */
    public Boolean getIsFile() {
        return isFile;
    }

    /**
     * @param isFile the isFile to set
     */
    public void setIsFile(Boolean isFile) {
        this.isFile = isFile;
    }
    
    public String toString()
    {
        return "----------------------\n" + UpdateUI.getLangTxt("008") + this.getSource() + "\n" + UpdateUI.getLangTxt("009") + this.getDest() + "\n----------------------";
    }    
}
